package com.wzz.mapper;

import com.wzz.pojo.Article;
import com.wzz.pojo.BApproval;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BApprovalMapper {

    int add(BApproval data);

    List<BApproval> queryAll();

    BApproval queryById(int id);

    int update(BApproval data);
}
